﻿@using mscook.mvc;
@{
    ViewBag.Title = "Index";
}

<!DOCTYPE html>
<html lang="en">
<head>
    <!--
		Charisma v1.0.0

		Copyright 2012 Muhammad Usman
		Licensed under the Apache License v2.0
		http://www.apache.org/licenses/LICENSE-2.0

		http://usman.it
		http://twitter.com/halalit_usman
	-->
    <meta charset="utf-8">
    <title>览月齐鲁</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
    <meta name="author" content="Muhammad Usman">
    <!--2013-10-30  http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")"></script>
    <!--2013-10-30  we need bundle this-->
    <script src="@Url.Content("~/Scripts/misc.js")"></script>
    <!-- The styles -->
    <link id="bs-css" href="@Url.Content("~/bootstrap/css/bootstrap.css")" rel="stylesheet">
    <link href="@Url.Content("~/bootstrap/css/bootstrap-uploadfile.css")" rel="stylesheet">

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }

        span.field-validation-error {
            color: red;
        }

        .sidebar-nav {
            padding: 9px 0;
        }
    </style>
    <link href="@Url.Content("~/bootstrap/css/bootstrap-responsive.css")" rel="stylesheet">
    <link href="@Url.Content("~/charisma/css/charisma-app.css")" rel="stylesheet">
    <link href="@Url.Content("~/charisma/css/jquery-ui-1.8.21.custom.css")" rel="stylesheet">
    <link href="@Url.Content("~/charisma/css/fullcalendar.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/fullcalendar.print.css")" rel='stylesheet' media='print'>
    <link href="@Url.Content("~/charisma/css/chosen.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/uniform.default.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/colorbox.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/jquery.cleditor.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/jquery.noty.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/noty_theme_default.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/elfinder.min.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/elfinder.theme.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/jquery.iphone.toggle.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/opa-icons.css")" rel='stylesheet'>
    <link href="@Url.Content("~/charisma/css/uploadify.css")" rel='stylesheet'>

    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="@Url.Content("~/weblogin/img/favicon.ico")">
</head>

<body>
    <!-- topbar starts -->
    @Html.Partial("_NavBar")
    <!-- topbar ends -->
    <div class="container-fluid">
        <div class="row-fluid">

            <!-- left menu starts -->
            <div class="span2 main-menu-span">
                <div class="well nav-collapse sidebar-nav">
                    <ul class="nav nav-tabs nav-stacked main-menu">
                        <li class="nav-header hidden-tablet">板块</li>
                        <li><a class="ajax-link" href="@Url.Content("~/weblogin/home")"><i class="icon-home"></i><span class="hidden-tablet">控制台</span></a></li>
                        <li><a href="@Url.Content("~/weblogin/bulletin")"><i class="icon-book"></i><span class="hidden-tablet">新闻</span></a></li>
                        <li><a href="@Url.Content("~/weblogin/slide")"><i class="icon-picture"></i><span class="hidden-tablet">主页幻灯片</span></a></li>
                        <li><a href="@Url.Content("~/weblogin/feature")"><i class="icon-picture"></i><span class="hidden-tablet">3D幻灯片</span></a></li>
                        <li><a href="@Url.Content("~/weblogin/magazine")"><i class="icon-list-alt"></i><span class="hidden-tablet">杂志</span></a></li>
                        <li><a href="@Url.Content("~/weblogin/cookbook")"><i class="icon-ban-circle"></i><span class="hidden-tablet">排行</span></a></li>
                        
                        

                        @if (ViewData[ViewDataKeys.USERROLE] != null && ViewData[ViewDataKeys.USERROLE].ToString().ToLower().Equals("admin"))
                        {
                            <li class="nav-header hidden-tablet">系统</li>
                            <li><a href="@Url.Content("~/weblogin/account")"><i class="icon-ban-circle"></i><span class="hidden-tablet">管理人员</span></a></li>

                            <li><a href="@Url.Content("~/weblogin/systemUser")"><i class="icon-ban-circle"></i><span class="hidden-tablet">用户</span></a></li>
                            
                            <li><a href="@Url.Content("~/weblogin/LoginUserOfVip")"><i class="icon-ban-circle"></i><span class="hidden-tablet">Vip会员申请</span></a></li>
                            <li><a href="@Url.Content("~/weblogin/Present")"><i class="icon-ban-circle"></i><span class="hidden-tablet">积分礼品</span></a></li>
                            
                        }
                        <li class="nav-header hidden-tablet">设置</li>
                        
                        <li><a href="@Url.Content("~/weblogin/resourcetype")"><i class="icon-wrench"></i><span class="hidden-tablet">资源类型</span></a></li>


                    </ul>
                </div>
                <!--/.well -->
            </div>
            <!--/span-->
            <!-- left menu ends -->

            <noscript>
                <div class="alert alert-block span10">
                    <h4 class="alert-heading">Warning!</h4>
                    <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
                </div>
            </noscript>

            <div id="content" class="span10">
                @RenderBody()
            </div>
            <!--/#content.span10-->
        </div>
        <!--/fluid-row-->

        <hr>


        <footer>
            <p class="pull-left">&copy; <a href="#" target="_blank">览月齐鲁</a> 2013</p>
            <p class="pull-right">Powered by: <a href="#">Six_Nine</a></p>
        </footer>

    </div>
    <!--/.fluid-container-->

    <!-- external javascript
	================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->

    <!-- jQuery -->
    <!--<script src="~/Scripts/jquery-1.7.2.min.js"></script> -->
    <!-- jQuery UI -->
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.21.min.js")"></script>
    <!-- transition / effect library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-transition.js")"></script>
    <!-- alert enhancer library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-alert.js")"></script>
    <!-- modal / dialog library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-modal.js")"></script>
    <!-- custom dropdown library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-dropdown.js")"></script>
    <!-- scrolspy library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-scrollspy.js")"></script>
    <!-- library for creating tabs -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-tab.js")"></script>
    <!-- library for advanced tooltip -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-tooltip.js")"></script>
    <!-- popover effect library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-popover.js")"></script>
    <!-- button enhancer library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-button.js")"></script>
    <!-- accordion library (optional, not used in demo) -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-collapse.js")"></script>
    <!-- carousel slideshow library (optional, not used in demo) -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-carousel.js")"></script>
    <!-- autocomplete library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-typeahead.js")"></script>
    <!-- tour library -->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-tour.js")"></script>
    <!--2013-10-30 basilwang from jasny-->
    <script src="@Url.Content("~/bootstrap/js/bootstrap-fileupload.js")"></script>
    <!-- library for cookie management -->
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")"></script>
    <!-- calander plugin -->
    <script src="@Url.Content("~/charisma/js/fullcalendar.min.js")"></script>
    <!-- data table plugin -->
    <script src="@Url.Content("~/Scripts/jquery.dataTables.min.js")"></script>

    <!-- chart libraries start -->
    <script src="@Url.Content("~/charisma/js/excanvas.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.flot.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.flot.pie.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.flot.stack.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.flot.resize.min.js")"></script>
    <!-- chart libraries end -->

    <!-- select or dropdown enhancer -->
    <script src="@Url.Content("~/Scripts/jquery.chosen.min.js")"></script>
    <!-- checkbox, radio, and file input styler -->
    <script src="@Url.Content("~/Scripts/jquery.uniform.min.js")"></script>
    <!-- plugin for gallery image view -->
    <script src="@Url.Content("~/Scripts/jquery.colorbox.min.js")"></script>
    <!-- rich text editor library -->
    <script src="@Url.Content("~/Scripts/jquery.cleditor.min.js")"></script>
    <!-- notification plugin -->
    <script src="@Url.Content("~/Scripts/jquery.noty.js")"></script>
    <!-- file manager library -->
    <script src="@Url.Content("~/Scripts/jquery.elfinder.min.js")"></script>
    <!-- star rating plugin -->
    <script src="@Url.Content("~/Scripts/jquery.raty.min.js")"></script>
    <!-- for iOS style toggle switch -->
    <script src="@Url.Content("~/Scripts/jquery.iphone.toggle.js")"></script>
    <!-- autogrowing textarea plugin -->
    <script src="@Url.Content("~/Scripts/jquery.autogrow-textarea.js")"></script>
    <!-- multiple file upload plugin -->
    <script src="@Url.Content("~/Scripts/jquery.uploadify-3.1.min.js")"></script>
    <!-- history.js for cross-browser state change on ajax -->
    <script src="@Url.Content("~/Scripts/jquery.history.js")"></script>

    <script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
    <!-- application script for Charisma demo -->
    <script src="@Url.Content("~/charisma/js/charisma.js")"></script>
    @RenderSection("JavaScript", required: false)


</body>
</html>

